
.middle > div {

    border: 1px solid red;
}

.content > div:nth-child(1) > div {
    text-indent: 3em;
    line-height: 30px;
    font-size: 10px;
    margin-bottom: 1em;
}

/*-----------移动div*/

.product {
    overflow: hidden;
}

.product > div {
    overflow: hidden;
    animation: mymove 5s;
    -webkit-animation: mymove 5s; /* Safari 和 Chrome */
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

/*from  从什么地方开始，to到什么地方结束*/
@keyframes mymove {
    0% {
        margin-left: 0;
    }
    25% {
        margin-left: 200px;
    }
    50% {
        margin-left: 500px;
    }
    75% {
        margin-left: -200px;
    }
    100% {
        margin-left: -500px;
    }
    /*from {*/
    /*    margin-left: 0px;*/
    /*}*/
    /*to {*/
    /*    margin-left: 200px;*/
    /*}*/
}

.product > div > div {
    display: flex;
    text-align: center;
}

.product > div > div > div {
    margin: 10px;

}

.product > div > div > div > div:nth-child(1) {
    width: 150px;
    height: 120px;
}

.product > div > div > div > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}
